<template>
  <div class="app-container">
    <h1>d.ts文件的使用</h1>
    <countTo :startVal='20' :endVal='46163' :duration='3000'></countTo>
    <img src="@/assets/401.gif" alt="">
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import CountTo from 'vue-count-to'

@Component({
  name: 'DTsFile',
  components: {
    CountTo,
  },
  created() {
    console.log(global.Calc.sum(1.1, 1.2))
    console.log(this.$bus)
  },
})
export default class extends Vue {

}
</script>
